<?php
namespace Application\Controller\Plugin;

use Zend\Log\Writer\Stream;
use Zend\Log\Logger;

class LoggingFactory
{

    private $fileLogger;

    function __construct()
    {
        $writer = new Stream('/Users/pankajmishra/logfile');
        $this->fileLogger = new Logger();
        $this->fileLogger->addWriter($writer);
    }

    public function getFileLogger()
    {
        return $this->fileLogger;
    }
}

?>
